PATH![]() |
![]() ![]() |
When calling the MPAllocateAligned function, you must specify the alignment of the desired memory block by passing a constant of type UInt8 in the alignment parameter.
enum {
/* Values for the alignment parameter to MPAllocateAligned.*/
kMPAllocateDefaultAligned = 0,
kMPAllocate8ByteAligned = 3,
kMPAllocate16ByteAligned = 4,
kMPAllocate32ByteAligned = 5,
kMPAllocate1024ByteAligned = 10,
kMPAllocate4096ByteAligned = 12,
kMPAllocateMaxAlignment = 16,
kMPAllocateAltiVecAligned = kMPAllocate16ByteAligned,
kMPAllocateVMXAligned = kMPAllocateAltiVecAligned
kMPAllocateVMPageAligned = 254,
kMPAllocateInterlockAligned = 255
};